<legend class='hyc-legend'>
    <i class="fa fa-list"></i>&nbsp;
    <span>急发单列表</span>
</legend>
<div class="panel panel-default">
    <div class="panel-heading">普通单列表</div>
    <div class="panel-body">
        <div class="row">
            <div class="col-md-1 text-right top7">运单号:</div>
            <div class="col-md-2">
                <div class="row">
                    <div class="col-md-12">
                        <div class="form-group">
                            <input type="text" class="form-control hyc-color" ng-model="searchOrderCode">
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-1 text-right top7">下单时间:</div>
            <div class="col-md-5">
                <div class="row">
                    <div class="col-md-5">
                        <div class="form-group">
                            <input type="text" class="form-control hyc-color" ng-model="beginDateTime" placeholder="开始时间" bs-datepicker date-format="yyyy-MM-dd">
                        </div>
                    </div>
                    <div class="col-md-2 text-center top7" style="margin: 0 -35px;">至</div>
                    <div class="col-md-5">
                        <div class="form-group">
                            <input type="text" class="form-control hyc-color" ng-model="endDateTime" placeholder="结束时间" bs-datepicker date-format="yyyy-MM-dd">
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group text-right">
                    <div class="btn btn-default btn-sm btn-warning" ng-click="search();">搜索</div>&nbsp;&nbsp;&nbsp;
                    <div class="btn btn-default btn-sm" ng-click="resetT()">重置</div>
                </div>
            </div>
        </div>
        <div class="hyc-overflow-y">
            <table class="table table-bordered table-hover">
                <tr>
                    <th class="text-center">运单号</th>
                    <th class="text-center">起运省</th>
                    <th class="text-center">起运市</th>
                    <th class="text-center">目的省</th>
                    <th class="text-center">目的市</th>
                    <th class="text-center">运单状态</th>
                    <th class="text-center">下单时间</th>
                    <th class="text-center">车型</th>
                    <th class="text-center">驾照要求</th>
                    <th class="text-center">操作</th>
                </tr>
                <tr ng-repeat="nDispatch in normalDispatch track by $index">
                    <td class="text-center">
                        {{nDispatch.orderCode}}
                    </td>
                    <td class="text-center">
                        {{nDispatch.departProvince}}
                    </td>
                    <td class="text-center">
                        {{nDispatch.departCity}}
                    </td>
                    <td class="text-center">
                        {{nDispatch.destProvince}}
                    </td>
                    <td class="text-center">
                        {{nDispatch.destCity}}
                    </td>
                    <td class="text-center">
                        {{changeCode(nDispatch.waybillStatus)}}
                    </td>
                    <td class="text-center">
                        {{nDispatch.orderTime}}
                    </td>
                    <td class="text-center">
                        {{nDispatch.vehicleTypeName}}
                    </td>
                    <td class="text-center">
                        {{nDispatch.license}}
                    </td>
                    <td class="text-center" style="color:blue;cursor:pointer;" ng-click="showModal($event)">
                        急发
                    </td>
                    <td ng-show="false" class="billId">
                        {{nDispatch.id}}
                    </td>
                </tr>
                <tr ng-if="normalDispatch.length <= 0">
                    <td colspan="14">
                        <div class="hyc-color text-center">
                            暂无运单数据
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
                <div class="col-md-6"></div>
                 <div ng-include="pageIncludeUrl" ng-if="normalDispatch.length > 0"></div>
        </div>
    </div>

    <!--急发单列表-->
    <div class="panel-heading">急发单列表</div>
    <div class="panel-body">
        <div class="hyc-overflow-y">
            <table class="table table-bordered table-hover">
                <tr>
                    <th class="text-center">急发单号</th>
                    <th class="text-center">起运省</th>
                    <th class="text-center">起运市</th>
                    <th class="text-center">目的省</th>
                    <th class="text-center">目的市</th>
                    <th class="text-center">运单状态</th>
                    <th class="text-center">下单时间</th>
                    <th class="text-center">车型</th>
                    <th class="text-center">驾照要求</th>
                    <th class="text-center">已加运费(元)</th>
                    <th class="text-center">特殊要求</th>
                    <th class="text-center">操作</th>
                </tr>
                <tr ng-repeat="qDispatch in quickDispatch track by $index">
                    <td class="text-center">
                        {{qDispatch.orderCode}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.departProvince}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.departCity}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.destProvince}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.destCity}}
                    </td>
                    <td class="text-center">
                        {{changeCode(qDispatch.waybillStatus)}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.orderTime}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.vehicleTypeName}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.license}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.extraCost}}
                    </td>
                    <td class="text-center">
                        {{qDispatch.specialRequired}}
                    </td>
                    <td class="text-center" ng-click="updateNormal($event)" style="color:blue;cursor:pointer;">
                        撤消
                    </td>
                    <td ng-show="false" class="billId">
                        {{qDispatch.id}}
                    </td>
                </tr>
                <tr ng-if="quickDispatch.length <= 0">
                    <td colspan="14">
                        <div class="hyc-color text-center">
                            暂无急发单数据
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
            <div class="col-md-6"></div>
        <div ng-include="pageIncludeUrlScd" ng-if="quickDispatch.length > 0"></div>
        </div>
    </div>
</div>